/***main.cpp
 *	2011.11.4, liyang
 *	Version 1.0 charlie
 *	main
 ***/

#include "global.h"
#include "socket.h"
#include "disposecmd.h"

extern char g_serialnum[22];							//serianum

int main(int argc, char *argv[])
{
	/*
	printf("charlie enter loop.\n");
	while(1)
	{
		sleep(1);
		}
		*/
		
	//start init
	if (-1 == globalInit())
	{
		printf("init error!!!\n");
		return -1;
	}
	//disposecmd
	disposeCmd();
	return 0;
}
